﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ExoticCarRental;

namespace ExoticCarRental
{
    public partial class About : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BusinessLayer bl = new BusinessLayer();
                DataTable dt = bl.GetAboutUsLocations();
                lstLocations.DataSource = dt;
                lstLocations.DataBind();
            }
        }

        protected void BusinessData_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
        {

        }
    }
}
